package cn.oscar.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import commonUtils.entities.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from user where id = #{id} ")
    User selectById(Long id);

}
